package com.zhx.common.chat.mapper;

import com.zhx.common.chat.domain.entity.Contact;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.lettuce.core.dynamic.annotation.Param;
import org.mapstruct.Mapper;

import java.util.Date;


import java.util.List;

/**
 * <p>
 * 会话列表 Mapper 接口
 * </p>
 *
 * @author zhx
 * @since 2024-04-24
 */
@Mapper
public interface ContactMapper extends BaseMapper<Contact> {

    void refreshOrCreateActiveTime(@Param("roomId")Long roomId, @Param("memberUidList") List<Long> memberUidList, @Param("msgId")Long msgId, @Param("activeTime") Date activeTime);
}
